package com.defangit.production.domain;

import java.time.LocalDateTime;

public class StockAlteration {
    private int id;
    private double quantity;
    private int flag;
    private Manufacture manufacture;
    private AbstractStore store;
    private LocalDateTime createTime = LocalDateTime.now();

    public int getId() {
        return id;
    }

    public StockAlteration setId(int id) {
        this.id = id;
        return this;
    }

    public double getQuantity() {
        return quantity;
    }

    public StockAlteration setQuantity(double quantity) {
        this.quantity = quantity;
        return this;
    }

    public AbstractStore getStore() {
        return store;
    }

    public StockAlteration setStore(AbstractStore store) {
        this.store = store;
        return this;
    }

    public int getFlag() {
        return flag;
    }

    public StockAlteration setFlag(int flag) {
        this.flag = flag;
        return this;
    }

    public Manufacture getManufacture() {
        return manufacture;
    }

    public StockAlteration setManufacture(Manufacture manufacture) {
        this.manufacture = manufacture;
        return this;
    }


    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public StockAlteration setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
        return this;
    }
}
